Package com.cisco.pt.ipc.sim.impl
Class MailBoxImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.MailBoxImpl
Information provided by the PKI file:
\class
\brief Mail box access to retrive and delete mails.
\example network().getDevice("PC0").getProcess("EmailClient").getEmailUser().getMailBox().deleteMailAt(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionMailBoxImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteMailAt(int index) Information provided by the PKI file:getMails()Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
MailBoxImpl
public MailBoxImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getMails
Information provided by the PKI file:
\brief Returns all the mails in the mailbox. \return vector<Mail>, value is a list that contains all the mails. -
deleteMailAt
public void deleteMailAt(int index) Information provided by the PKI file:
\brief Deletes the mail at the given index. \param index, index of the mail entry to delete.- Specified by:
deleteMailAtin interfaceMailBox- Parameters:
index- Takes in a parameter of index
-